package com.huahang.fashionpress.service;

import com.huahang.fashionpress.model.Category;

import java.util.List;

public interface CategoryService {
    boolean checkCategoryByName(String name);
    List<Category> SelectallCategory();
    Category SelectCategoryById(int id);
    Category SelectCategoryByName(String name);
    void insertCategory(Category category);
    void updateCategory(Category category);
    void delteCategory(int id);
}
